package cn.yunhe.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Controller
@Scope("prototype")
@ParentPackage("struts-default")
public class Test extends ActionUtil{

    @Action(value = "test",results = {@Result(name = "success",location = "/index.jsp")})
    public String test(){
        System.out.println("88888888888888888888888888888888");
        return SUCCESS;
    }
}
